﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using VideoClubGorbea.Common.Utils;
using VideoClubGorbea.Model;


namespace VideoClubGorbea.Common.Interfaces
{
    
        [ServiceContract]
        public interface IMovieServices
        {
            [OperationContract]
            List<Movie> SearchMovies(string title);
            [OperationContract]
            List<Movie> GetLatestMovies(int? pageSize);
            [OperationContract]
            Movie GetMovieById(int? id);
        }


    
}
